//
//  CusNavigationController.m
//  vc
//
//  Created by 杜超男 on 2019/3/20.
//  Copyright © 2019年 杜超男. All rights reserved.
//

#import "CusNavigationController.h"

@interface CusNavigationController ()

@end

@implementation CusNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    // Do any additional setup after loading the view.
}
//支持旋转
-(BOOL)shouldAutorotate{
    return [self.topViewController shouldAutorotate];
}
//支持方向
-(UIInterfaceOrientationMask)supportedInterfaceOrientations{
    return [self.topViewController supportedInterfaceOrientations];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
